//
//  YellowView.m
//  Pthread
//
//  Created by Yanyan Jiang on 2023/2/9.
//  Copyright © 2023 Yanyan Jiang. All rights reserved.
//

#import "YellowView.h"

@implementation YellowView

//touchesBegan方法的默认做法是将事件顺着响应者链条身上传递，将事件交给上一个响应者进行处理
//就会调用上一个响应者的touches方法
- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    NSLog(@"%@----touch",[self class]);
    [super touchesBegan:touches withEvent:event];
}

@end

